package main

import "fmt"

func main() {
	nums := []int{1, 2, 3}
	arr := permute(nums)
	fmt.Println(arr)
}

func permute(nums []int) [][]int {

}

func pre(nums []int,start int) [][]int {
	var res [][]int
	if start == len(nums)-1{

	}

	res = append(res, nums)

	for i := 0; i < len(nums); i++ {
		first := nums[i]
		pre(nums[i:],first)
	}
}
